package com.ssis.graphics;

import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;
import org.newdawn.slick.SpriteSheetFont;

public class Text {
	SpriteSheetFont printer;
	public Text() {
		try {
			printer = new SpriteSheetFont(new SpriteSheet("res/arcadepix_font_sheet.png", 8, 8), ' ');
		} catch (SlickException e) {
			e.printStackTrace();
		}
	}
	
	public void print(int x, int y, String text) {
		printer.drawString(x, y, text);
	}
}
